package fr.cnam.projetSiw.client.services;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import fr.cnam.projetSiw.shared.Artist;
import fr.cnam.projetSiw.shared.City;
import fr.cnam.projetSiw.shared.Track;

@RemoteServiceRelativePath("sparql")
public interface SparqlService extends RemoteService
{
	
	public City getCityFromLngLat(String lon, String lat);
	
	public City getCityFromSongName(String songName);
	
	public ArrayList<Artist> getArtistsByCityNameAndGenre(String cityName, String genre);

	public ArrayList<Track> getSongNameRecordedInCityByGenre(String cityName,
			String genre);
	
	public ArrayList<String> getAllGenre();

}
